import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
//通过路由，引入界面
import drugmage from '@/components/neupha/drugmage'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/HelloWorld',
      name: 'HelloWorld',
      component: HelloWorld
    },/* {
      path: '/',
      name: '药房模块',
      component: drugmage,
      children:[{
        path:'/drugmage',
        name:'drugmage',
        component:drugmage
      }
      ]} */
      {
        path:'/',
        name:'drugmage',
        component:drugmage
      }
    
  ]
})
